# 12-导入模块随机数.py
import random
# 打印随机数
# 0.9635146112765218
print(random.random()) # 0-1 

# 输出整数 1-10 随机数
print(random.randint(1,10))

# 模拟随机点名
arr = ["校长","小明","小红"]
# arr[0]
print(arr[random.randint(0,2)])